﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Aho.PathEditor.Business.Services
{
    public class PathService
    {
        public PathEditor.Business.Entities.PathListEntity GetPathFullList()
        {
            return Path.PathReaderFactory.GetPathReader().GetAllPaths();
        }

        public void SavePathList(PathEditor.Business.Entities.PathListEntity pathEntityList)
        {
            Path.PathReaderFactory.GetPathReader().SavePaths(pathEntityList);
        }
    }
}
